# f = float(input('请输入华氏温度: '))
# # print(f)
# c = (f - 32) / 1.8
# print('%.1f华氏度 = %.1f摄氏度' % (f, c))
# print(f'{f:.1f}华氏度 = {c:.1f}摄氏度') # {f:.1f} 表示法
# print(f)
# import math
# radius = float(input('请输入圆的半径: '))
# perimeter = 2 * math.pi * radius
# area = math.pi * radius * radius
# # print('周长: %.2f' % perimeter)
# # print('面积: %.2f' % area)
# print(f'周长：{perimeter = }')
# print(f'面积：{area = :.2f}')
f = float(input('请输入年份: '))
is_leap = f % 4 == 0 and f % 100 != 0 or f % 400 == 0
print(is_leap)

